<template>
    <p>{{text}}</p>
    <input v-model="text">
</template>

<script setup lang="ts">
    import {useDebouncedRef} from '../customRef'
    const text = useDebouncedRef('hello',2000)
</script>

<style scoped lang="less">

</style>
